package com.study.gateway.entry;

import java.io.Serializable;

/**
 * 动态网关配置实体
 * @author: BacHe
 * @email: 1218585258@qq.com
 * @Date: 2020/9/24 23:36
 */
public class GateWayEntry implements Serializable {
    //主键id
    private Long id;
    //路由类型
    private String routeType;
    //路由id
    private String routeId;
    //名称
    private String routeName;
    //url跳转地址
    private String routeUrl;
    //匹配规则
    private String routePattern;

    public GateWayEntry() {
    }

    public Long getId() {
        return id;
    }

    public GateWayEntry setId(Long id) {
        this.id = id;
        return this;
    }

    public String getRouteType() {
        return routeType;
    }

    public GateWayEntry setRouteType(String routeType) {
        this.routeType = routeType;
        return this;
    }

    public String getRouteId() {
        return routeId;
    }

    public GateWayEntry setRouteId(String routeId) {
        this.routeId = routeId;
        return this;
    }

    public String getRouteName() {
        return routeName;
    }

    public GateWayEntry setRouteName(String routeName) {
        this.routeName = routeName;
        return this;
    }

    public String getRouteUrl() {
        return routeUrl;
    }

    public GateWayEntry setRouteUrl(String routeUrl) {
        this.routeUrl = routeUrl;
        return this;
    }

    public String getRoutePattern() {
        return routePattern;
    }

    public GateWayEntry setRoutePattern(String routePattern) {
        this.routePattern = routePattern;
        return this;
    }
}
